﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Utility
{
    public class common
    {
        public string GetModuleandMenuID()
        {
            string queryStringVidMid = "";
            if (System.Web.HttpContext.Current.Session["vid"] != null)
            {
                queryStringVidMid = queryStringVidMid + "?vid=" + System.Web.HttpContext.Current.Session["vid"].ToString();
                if (System.Web.HttpContext.Current.Session["mid"] != null)
                {
                    queryStringVidMid = queryStringVidMid + "&mid=" + System.Web.HttpContext.Current.Session["mid"].ToString();
                }
            }
            return queryStringVidMid;

        }
    }
}
